<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class vdo_profile extends CI_Controller {

	public function __construct()
    {
        parent::__construct();
        $all_session = $this->session->all_userdata();

    
        if($all_session['login'][0]['mem_type'] != 2 && $all_session['login'][0]['mem_type'] != 1)
        {
        	redirect('authen');
        } 

    }


	public function index()
	{
		$this->load->view('vdo_profile');
	}
}